import request from '@/utils/request'
// 查询训练数据

const nineUrl = "http://10.176.40.151:8889";
const eightUrl = "http://10.176.40.151:8888";
const zeroUrl = "http://10.176.40.151:8880";
export function getTrainListApi(params) {
  return request({
    url: zeroUrl + '/test/getTrainingData',
    method: 'get',
    params
  })
}
export function uploadTrainFileApi(data) {
  return request({
    url: eightUrl + '/trainingData/v1/upload',
    method: 'post',
    data
  })
}


export function detailListApi(params) {
  return request({
    url: zeroUrl + '/test/getSampleDataByTrainingId',
    method: 'get',
    params
  })
}

